package com.morningstar.service;

import com.morningstar.entity.User;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @className: UserSerivce
 * @description: UserService
 * @author: LiuZhenHe
 * @date: 2023/10/16 17:32
 **/
public class UserService {

    // 如果使用非ImportSelector方式导入，需要将此注释掉
    @Autowired
    private User user;

    public String getUserName() {
        return "刘zh";
    }

    public User getUser() {
        return user;
    }
}
